﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="payway.aspx.cs" Inherits="SF.Ucenter.mycenterusers.payway" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <meta charset="utf-8" />
	<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" />
	<meta name="apple-mobile-web-app-capable" content="yes" />
	<meta name="apple-mobile-web-app-status-bar-style" content="black" />
	<meta name="format-detection" content="telephone=no" />
	<meta http-equiv="x-dns-prefetch-control" content="on" />
    <title>个人提现方式</title>
    <link href="css/payway.css" rel="stylesheet" />
    <script src="js/jquery.js"></script>
    <script>
        function del(id) {
            if (confirm('确认删除?')) {
                $.post("payway.aspx", { action: 1, id: id }, function (rs) {
                    if (rs) {
                        window.location.reload();
                    } else {
                        alert("删除失败，刷新页面!");
                    }
                });
            }
        }
        function check(id) {
            window.location = "mywithdraw.aspx?id=" + id;
        }

    </script>
</head>
<body>
    <form id="form1" runat="server">
        <!--客户端下载的图片-->


        <header id="header" class="u-header clearfix">
            <!-- 返回按钮根据程序判断来源，返回上一级-->
            <!-- 非微信扫码进入的用户 -->
            <div class="u-hd-left f-left">
                <a href="mywithdraw.aspx" class="J_backToPrev"><span class="u-icon-px i-hd-back"></span></a>
            </div>
            <div class="u-hd-tit"><span>提现方式列表</span></div>
            <div class="u-hd-right f-right"><a href="index.aspx"><span class="u-icon-px i-hd-home"></span></a></div>
        </header>


        <a href="newpay.aspx" data-addaddress="true" class="textlink fl" >新增提现方式+</a>

        <div class="clear"></div>
        <asp:Repeater ID="rptData" runat="server">
            <ItemTemplate>
                <div class="u-addrbox userdiv">
                    <div class="addr_box">
                        <p>持卡人：<%#Eval("personName")%><span class="addr_tel">手机号：<%#Eval("phone")%></span></p>
                        <p class="clear"></p>
                        <p>卡号：<%#Eval("bankNumber")%></p>
                    </div>
                    <div class="addr_ope">
                        <a href="javascript:;" onclick="check(<%#Eval("id")%>);"><span class="edi"></span>选择</a>     
                        <a href="javascript:;" onclick="del(<%#Eval("id")%>);"><span class="delete"></span>删除</a>                       
                    </div>
                </div>
            </ItemTemplate>
        </asp:Repeater>

        <div class="u-footer clearfix">
        </div>
        <a href="#top" class="u-backtop"><span class="u-icon-px i-backtop"></span></a>

        <!--以下是浮于显示屏左下角的购物袋-->

    </form>
</body>
</html>
